<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<!--  $Id: layout.jsp,v 1.34 2006/07/23 17:18:21 mgriffa Exp $ -->
<%@page import="java.io.File"%>
<%@page import="java.util.Date"%>
<HTML>
<HEAD>
<title></title>
<link rel="stylesheet" href="style.css" type="text/css">
</HEAD>
<body>
<%@page import="java.util.Map"%>
<%
final Map logs = (Map)request.getAttribute("Map");

%>
<table>
<%
for(Object k : logs.keySet()) {
	final File f = new File((String)k);
%>
<tr>
	<td><a href="<%=k %>.view"><%=k %>.view</a></td>
	<td><%=logs.get(k) %></td>
	<td><%=f.length() %></td>
	<td><%=new Date(f.lastModified()) %></td>
</tr>
<%
}
%>
</table>

<% if (logs.isEmpty()) { %>
<p>NOTE: There is no logfile configured, you may want <a href="add">add a logfile</a>.</p>

<% } /* empty */ %>

</body>
</html>